I installed the Intel C/C++ Compiler plug-in. How do I invoke it from within
the Microsoft Visual C++ Integrated Development Environment?
Follow these steps:
Open a Microsoft project (.mdp or .mak) file in Visual C++.
Click on the "Tools" menu in the Developer Studio.
Click "Select Compiler". The Select Compiler window opens.
Click on the Intel C/C++ Compiler option.
Click "OK".
Is it possible to have the Intel Compiler active in both Microsoft Visual C++ Compiler 4.x* and
Microsoft Visual C++ Compiler 5.0 in the same system?
No. Only one of the Intel C/C++ Complier plug-in or Intel FORTRAN Compiler plug-in can be active in a
single version of Microsoft Visual C++ Compiler* at any time. To switch between versions of Microsoft Visual C++ Compiler, it is
necessary to uninstall the Intel C/C++ Compiler plug-in(not simply deleting it) then re-install it selecting the different version of Microsoft Visual C++ Compiler on the "Select Microsoft
Compiler" screen during Intel C/C++ Compiler plug-in installation.
How do I produce code that targets a particular processor?
To target a binary application to run on a specific processor, use the -Gn
option to optimize for that processor:
-GB
Choose GB when the binary application must run on a variety of Intel
processors. This type blends optimization for performance across the
entire Intel family of processors. The GB option is ON by default.
-G5
Choose G5 when the binary application runs on the Pentium®
processor.
-G6
Choose G6 when the binary application runs on the Pentium Pro or
Pentium II processors
Note: The -G target processor options and other optimization options are
described in detail in the "Optimizations" chapter of the Intel C/C++ Compiler
User's Guide for Win32 Systems.
Can I compile my application with a mix of the Intel C/C++ Compiler plug-in
and the Microsoft Visual C++ Compiler?
Yes, the Intel C/C++ Compiler plug-in allows this through use of the _USE_INTEL_COMPILER and _USE_NON_INTEL_COMPILER macros. These macros are
documented in the release notes.